package cn.cms.util;

public enum ResponseCode {
    //通用
    SUCCESS("0", "成功"),
    OFFLINE("20002", "成功"),
    PARAM_WRONG("000001", "参数错误"),
    FAIL("00002", "失败"),
    NO_OBJECT("00003", "on object"),

    //其他模块
    GREATER_LIMIT("800003", "超过最大请求转换数");

    private ResponseCode(String c, String m) {
        this.code = c;
        this.msg = m;
    }

    private String code;
    private String msg;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
